<!DOCTYPE html>
<html   xmlns="http://www.w3c.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head />
    <h:body>
        <h:form>
            <p:remoteCommand name="rc" update="msgs" actionListener="#{remoteCommandBean.execute}" />
            <p:growl id="msgs" showDetail="true" />
            <p:commandButton type="button" onclick="rc()" value="Execute" icon="ui-icon-refresh" />
        </h:form>
    </h:body>
</html>
